Replication Code and Data for "Competence versus Priorities: Negative Electoral Responses to Education Quality in Brazil"
Authors: Taylor C. Boas, F. Daniel Hidalgo, Guillermo Toral
Contact email: dhidalgo@mit.edu.
Date: June 25, 2020

For replication, please use the zip file  "competence_versus_priorities_replication.zip, which contains all the necessary data and code in the proper directory structure. 

The subfolders included in this package replicate all tables and figures in the main text and in the online Appendix.

Each subfolder (for the RDD, the RCT, the online survey, the descriptive analyses, and the spending analyses) contains data files, commented code, and the tables and figures the code produces.

All necessary code and files needed to replicate the tables and figures in the main text and in the online Appendix are contained in this replication package, with the exception of the LAPOP survey files which need to be downloaded from the LAPOP website (via the links included in descriptives.R).

The TEX files "tables_and_figures.tex" assembles all the tables and figures in a single PDF file.